package work.timejay.user;

import cn.hutool.http.HttpRequest;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.web.servlet.MultipartAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @className:TimeJayApplication.java
 * @author:王文杰
 * @version:1.0.0
 * @description:user启动类
 * @createTime 2021年12月18日 16:27:00
 */
//@SpringBootApplication(exclude = {MultipartAutoConfiguration.class})//排除这个类
@SpringBootApplication
//开启feign调用
//@EnableFeignClients(basePackages = {"work.timejay.user.service.feign"})
//注册服务
//@EnableEurekaClient
@ComponentScan(basePackages = {"work.timejay"})
@Slf4j
public class TimeJayUserApplication {
    public static void main(String[] args) {
        SpringApplication.run(TimeJayUserApplication.class, args);
        log.info("TimeJayUserApplication started successfully");
    }

}
